<template>
	<view :class="['s-flex-c-c-c',isCenter?'h100':`padding-top-${top}`]">
		<u-image :showLoading="false" loadingIcon="" :width="`${width}rpx`" :height="`${width}rpx`" src="/static/img/empty/empty.png"></u-image>
		<view class="msg">
			{{msg}}
		</view>
	</view>
</template>

<script setup>
	let prop= defineProps({
		isCenter:{
			type:Boolean,
			default: false
		},
		width:{
			type:String,
			default:"200"
		},
		top:{
			type:String,
			default:"202"
		},
		msg:{
			type:String,
			default:"页面空空如也"
		}
	})
</script>

<style lang="scss" scoped>
.msg{
	margin-top: 10rpx;
	font-size: 30rpx;
	font-family: PingFang SC, PingFang SC;
	font-weight: 400;
	color: #616266;
	line-height: 46rpx;
}
.h100{
	margin-top: -110rpx;
}
</style>